﻿using System;
using System.Collections.Generic;
using System.Text;


using H2.NET.Data.Common;
using H2.NET.Data.Common.Mappings;
using H2.NET.Data.Common.Validates;


namespace H2.NET.Business
{
    [Table]
    [Serializable]
    public class mdc_spm_IcdMustomer : DataObject
    {

        [ID]
        [DID]
        public string ID { get { return _ID; } set { _ID = value; EntityState.FieldChange("ID"); } } private string _ID; public static FieldInfo iD = new FieldInfo("mdc_spm_IcdMustomer", "ID");

        [Column]
        public string Process { get { return _Process; } set { _Process = value; EntityState.FieldChange("Process"); } } private string _Process; public static FieldInfo process = new FieldInfo("mdc_spm_IcdMustomer", "Process");
        [Column]
        public int Incident { get { return _Incident; } set { _Incident = value; EntityState.FieldChange("Incident"); } } private int _Incident; public static FieldInfo incident = new FieldInfo("mdc_spm_IcdMustomer", "Incident");
        [Column]
        public string UserName { get { return _UserName; } set { _UserName = value; EntityState.FieldChange("UserName"); } } private string _UserName; public static FieldInfo userName = new FieldInfo("mdc_spm_IcdMustomer", "UserName");
        [Column]
        public string Type { get { return _Type; } set { _Type = value; EntityState.FieldChange("Type"); } } private string _Type; public static FieldInfo type = new FieldInfo("mdc_spm_IcdMustomer", "Type");
        [Column]
        public string Customer_Code { get { return _Customer_Code; } set { _Customer_Code = value; EntityState.FieldChange("Customer_Code"); } } private string _Customer_Code; public static FieldInfo customer_Code = new FieldInfo("mdc_spm_IcdMustomer", "Customer_Code");
        [Column]
        public string Company { get { return _Company; } set { _Company = value; EntityState.FieldChange("Company"); } } private string _Company; public static FieldInfo company = new FieldInfo("mdc_spm_IcdMustomer", "Company");
        [Column]
        public string DrpPriority { get { return _DrpPriority; } set { _DrpPriority = value; EntityState.FieldChange("DrpPriority"); } } private string _DrpPriority; public static FieldInfo drpPriority = new FieldInfo("mdc_spm_IcdMustomer", "DrpPriority");
        [Column]
        public string DMO_DrpPriority { get { return _DMO_DrpPriority; } set { _DMO_DrpPriority = value; EntityState.FieldChange("DMO_DrpPriority"); } } private string _DMO_DrpPriority; public static FieldInfo dMO_DrpPriority = new FieldInfo("mdc_spm_IcdMustomer", "DMO_DrpPriority");

        [Column]
        public string Sales_Organization { get { return _Sales_Organization; } set { _Sales_Organization = value; EntityState.FieldChange("Sales_Organization"); } } private string _Sales_Organization; public static FieldInfo sales_Organization = new FieldInfo("mdc_spm_IcdMustomer", "Sales_Organization");
        [Column]
        public string Distribution_Channel { get { return _Distribution_Channel; } set { _Distribution_Channel = value; EntityState.FieldChange("Distribution_Channel"); } } private string _Distribution_Channel; public static FieldInfo distribution_Channel = new FieldInfo("mdc_spm_IcdMustomer", "Distribution_Channel");
        [Column]
        public string Division { get { return _Division; } set { _Division = value; EntityState.FieldChange("Division"); } } private string _Division; public static FieldInfo division = new FieldInfo("mdc_spm_IcdMustomer", "Division");
        [Column]
        public string Description_1 { get { return _Description_1; } set { _Description_1 = value; EntityState.FieldChange("Description_1"); } } private string _Description_1; public static FieldInfo description_1 = new FieldInfo("mdc_spm_IcdMustomer", "Description_1");
        [Column]
        public string Description_2 { get { return _Description_2; } set { _Description_2 = value; EntityState.FieldChange("Description_2"); } } private string _Description_2; public static FieldInfo description_2 = new FieldInfo("mdc_spm_IcdMustomer", "Description_2");
        [Column]
        public string Search_Term_EN { get { return _Search_Term_EN; } set { _Search_Term_EN = value; EntityState.FieldChange("Search_Term_EN"); } } private string _Search_Term_EN; public static FieldInfo search_Term_EN = new FieldInfo("mdc_spm_IcdMustomer", "Search_Term_EN");
        [Column]
        public string Search_Term_CN { get { return _Search_Term_CN; } set { _Search_Term_CN = value; EntityState.FieldChange("Search_Term_CN"); } } private string _Search_Term_CN; public static FieldInfo search_Term_CN = new FieldInfo("mdc_spm_IcdMustomer", "Search_Term_CN");
        [Column]
        public string Street_EN { get { return _Street_EN; } set { _Street_EN = value; EntityState.FieldChange("Street_EN"); } } private string _Street_EN; public static FieldInfo street_EN = new FieldInfo("mdc_spm_IcdMustomer", "Street_EN");
        [Column]
        public string Street_CN { get { return _Street_CN; } set { _Street_CN = value; EntityState.FieldChange("Street_CN"); } } private string _Street_CN; public static FieldInfo street_CN = new FieldInfo("mdc_spm_IcdMustomer", "Street_CN");
        [Column]
        public string City_EN { get { return _City_EN; } set { _City_EN = value; EntityState.FieldChange("City_EN"); } } private string _City_EN; public static FieldInfo city_EN = new FieldInfo("mdc_spm_IcdMustomer", "City_EN");
        [Column]
        public string City_CN { get { return _City_CN; } set { _City_CN = value; EntityState.FieldChange("City_CN"); } } private string _City_CN; public static FieldInfo city_CN = new FieldInfo("mdc_spm_IcdMustomer", "City_CN");
        [Column]
        public string Country { get { return _Country; } set { _Country = value; EntityState.FieldChange("Country"); } } private string _Country; public static FieldInfo country = new FieldInfo("mdc_spm_IcdMustomer", "Country");
        [Column]
        public string Region { get { return _Region; } set { _Region = value; EntityState.FieldChange("Region"); } } private string _Region; public static FieldInfo region = new FieldInfo("mdc_spm_IcdMustomer", "Region");
        [Column]
        public string Postal_Code { get { return _Postal_Code; } set { _Postal_Code = value; EntityState.FieldChange("Postal_Code"); } } private string _Postal_Code; public static FieldInfo postal_Code = new FieldInfo("mdc_spm_IcdMustomer", "Postal_Code");
        [Column]
        public string Street4 { get { return _Street4; } set { _Street4 = value; EntityState.FieldChange("Street4"); } } private string _Street4; public static FieldInfo street4 = new FieldInfo("mdc_spm_IcdMustomer", "Street4");
        [Column]
        public string Street5 { get { return _Street5; } set { _Street5 = value; EntityState.FieldChange("Street5"); } } private string _Street5; public static FieldInfo street5 = new FieldInfo("mdc_spm_IcdMustomer", "Street5");
        [Column]
        public string District { get { return _District; } set { _District = value; EntityState.FieldChange("District"); } } private string _District; public static FieldInfo district = new FieldInfo("mdc_spm_IcdMustomer", "District");
        [Column]
        public string Transportation_zone { get { return _Transportation_zone; } set { _Transportation_zone = value; EntityState.FieldChange("Transportation_zone"); } } private string _Transportation_zone; public static FieldInfo transportation_zone = new FieldInfo("mdc_spm_IcdMustomer", "Transportation_zone");
        [Column]
        public string Language { get { return _Language; } set { _Language = value; EntityState.FieldChange("Language"); } } private string _Language; public static FieldInfo language = new FieldInfo("mdc_spm_IcdMustomer", "Language");
        [Column]
        public string Contact_Person { get { return _Contact_Person; } set { _Contact_Person = value; EntityState.FieldChange("Contact_Person"); } } private string _Contact_Person; public static FieldInfo contact_Person = new FieldInfo("mdc_spm_IcdMustomer", "Contact_Person");
        [Column]
        public string Telephone { get { return _Telephone; } set { _Telephone = value; EntityState.FieldChange("Telephone"); } } private string _Telephone; public static FieldInfo telephone = new FieldInfo("mdc_spm_IcdMustomer", "Telephone");
        [Column]
        public string Ext_1 { get { return _Ext_1; } set { _Ext_1 = value; EntityState.FieldChange("Ext_1"); } } private string _Ext_1; public static FieldInfo ext_1 = new FieldInfo("mdc_spm_IcdMustomer", "Ext_1");
        [Column]
        public string Fax_number { get { return _Fax_number; } set { _Fax_number = value; EntityState.FieldChange("Fax_number"); } } private string _Fax_number; public static FieldInfo fax_number = new FieldInfo("mdc_spm_IcdMustomer", "Fax_number");
        [Column]
        public string Ext_2 { get { return _Ext_2; } set { _Ext_2 = value; EntityState.FieldChange("Ext_2"); } } private string _Ext_2; public static FieldInfo ext_2 = new FieldInfo("mdc_spm_IcdMustomer", "Ext_2");
        [Column]
        public string Email { get { return _Email; } set { _Email = value; EntityState.FieldChange("Email"); } } private string _Email; public static FieldInfo email = new FieldInfo("mdc_spm_IcdMustomer", "Email");
        [Column]
        public string Vendor { get { return _Vendor; } set { _Vendor = value; EntityState.FieldChange("Vendor"); } } private string _Vendor; public static FieldInfo vendor = new FieldInfo("mdc_spm_IcdMustomer", "Vendor");
        [Column]
        public string Trading_Partner_1 { get { return _Trading_Partner_1; } set { _Trading_Partner_1 = value; EntityState.FieldChange("Trading_Partner_1"); } } private string _Trading_Partner_1; public static FieldInfo trading_Partner_1 = new FieldInfo("mdc_spm_IcdMustomer", "Trading_Partner_1");
        [Column]
        public string Corporate_Group { get { return _Corporate_Group; } set { _Corporate_Group = value; EntityState.FieldChange("Corporate_Group"); } } private string _Corporate_Group; public static FieldInfo corporate_Group = new FieldInfo("mdc_spm_IcdMustomer", "Corporate_Group");
        [Column]
        public string Industry { get { return _Industry; } set { _Industry = value; EntityState.FieldChange("Industry"); } } private string _Industry; public static FieldInfo industry = new FieldInfo("mdc_spm_IcdMustomer", "Industry");
        [Column]
        public string County_code { get { return _County_code; } set { _County_code = value; EntityState.FieldChange("County_code"); } } private string _County_code; public static FieldInfo county_code = new FieldInfo("mdc_spm_IcdMustomer", "County_code");
        [Column]
        public string City_code { get { return _City_code; } set { _City_code = value; EntityState.FieldChange("City_code"); } } private string _City_code; public static FieldInfo city_code = new FieldInfo("mdc_spm_IcdMustomer", "City_code");
        [Column]
        public string Industry_Code_1 { get { return _Industry_Code_1; } set { _Industry_Code_1 = value; EntityState.FieldChange("Industry_Code_1"); } } private string _Industry_Code_1; public static FieldInfo industry_Code_1 = new FieldInfo("mdc_spm_IcdMustomer", "Industry_Code_1");
        [Column]
        public string Industry_code_2 { get { return _Industry_code_2; } set { _Industry_code_2 = value; EntityState.FieldChange("Industry_code_2"); } } private string _Industry_code_2; public static FieldInfo industry_code_2 = new FieldInfo("mdc_spm_IcdMustomer", "Industry_code_2");
        [Column]
        public string Industry_code_3 { get { return _Industry_code_3; } set { _Industry_code_3 = value; EntityState.FieldChange("Industry_code_3"); } } private string _Industry_code_3; public static FieldInfo industry_code_3 = new FieldInfo("mdc_spm_IcdMustomer", "Industry_code_3");
        [Column]
        public string Tax_Number_1 { get { return _Tax_Number_1; } set { _Tax_Number_1 = value; EntityState.FieldChange("Tax_Number_1"); } } private string _Tax_Number_1; public static FieldInfo tax_Number_1 = new FieldInfo("mdc_spm_IcdMustomer", "Tax_Number_1");
        [Column]
        public string Bank_Name { get { return _Bank_Name; } set { _Bank_Name = value; EntityState.FieldChange("Bank_Name"); } } private string _Bank_Name; public static FieldInfo bank_Name = new FieldInfo("mdc_spm_IcdMustomer", "Bank_Name");
        [Column]
        public string Bank_account { get { return _Bank_account; } set { _Bank_account = value; EntityState.FieldChange("Bank_account"); } } private string _Bank_account; public static FieldInfo bank_account = new FieldInfo("mdc_spm_IcdMustomer", "Bank_account");
        [Column]
        public string Recon_account { get { return _Recon_account; } set { _Recon_account = value; EntityState.FieldChange("Recon_account"); } } private string _Recon_account; public static FieldInfo recon_account = new FieldInfo("mdc_spm_IcdMustomer", "Recon_account");
        [Column]
        public string Sort_key { get { return _Sort_key; } set { _Sort_key = value; EntityState.FieldChange("Sort_key"); } } private string _Sort_key; public static FieldInfo sort_key = new FieldInfo("mdc_spm_IcdMustomer", "Sort_key");
        [Column]
        public string Cash_mgmt_group { get { return _Cash_mgmt_group; } set { _Cash_mgmt_group = value; EntityState.FieldChange("Cash_mgmt_group"); } } private string _Cash_mgmt_group; public static FieldInfo cash_mgmt_group = new FieldInfo("mdc_spm_IcdMustomer", "Cash_mgmt_group");
        [Column]
        public string Payment_Terms { get { return _Payment_Terms; } set { _Payment_Terms = value; EntityState.FieldChange("Payment_Terms"); } } private string _Payment_Terms; public static FieldInfo payment_Terms = new FieldInfo("mdc_spm_IcdMustomer", "Payment_Terms");
        [Column]
        public string Payment_history_record { get { return _Payment_history_record; } set { _Payment_history_record = value; EntityState.FieldChange("Payment_history_record"); } } private string _Payment_history_record; public static FieldInfo payment_history_record = new FieldInfo("mdc_spm_IcdMustomer", "Payment_history_record");
        [Column]
        public string Dunn_Procedure { get { return _Dunn_Procedure; } set { _Dunn_Procedure = value; EntityState.FieldChange("Dunn_Procedure"); } } private string _Dunn_Procedure; public static FieldInfo dunn_Procedure = new FieldInfo("mdc_spm_IcdMustomer", "Dunn_Procedure");
        [Column]
        public string Bank_statement { get { return _Bank_statement; } set { _Bank_statement = value; EntityState.FieldChange("Bank_statement"); } } private string _Bank_statement; public static FieldInfo bank_statement = new FieldInfo("mdc_spm_IcdMustomer", "Bank_statement");
        [Column]
        public string Sales_Office { get { return _Sales_Office; } set { _Sales_Office = value; EntityState.FieldChange("Sales_Office"); } } private string _Sales_Office; public static FieldInfo sales_Office = new FieldInfo("mdc_spm_IcdMustomer", "Sales_Office");
        [Column]
        public string Currency { get { return _Currency; } set { _Currency = value; EntityState.FieldChange("Currency"); } } private string _Currency; public static FieldInfo currency = new FieldInfo("mdc_spm_IcdMustomer", "Currency");
        [Column]
        public string Switch_off_rounding { get { return _Switch_off_rounding; } set { _Switch_off_rounding = value; EntityState.FieldChange("Switch_off_rounding"); } } private string _Switch_off_rounding; public static FieldInfo switch_off_rounding = new FieldInfo("mdc_spm_IcdMustomer", "Switch_off_rounding");
        [Column]
        public string Price_group { get { return _Price_group; } set { _Price_group = value; EntityState.FieldChange("Price_group"); } } private string _Price_group; public static FieldInfo price_group = new FieldInfo("mdc_spm_IcdMustomer", "Price_group");
        [Column]
        public string Cust_pric_proc { get { return _Cust_pric_proc; } set { _Cust_pric_proc = value; EntityState.FieldChange("Cust_pric_proc"); } } private string _Cust_pric_proc; public static FieldInfo cust_pric_proc = new FieldInfo("mdc_spm_IcdMustomer", "Cust_pric_proc");
        [Column]
        public string Order_probability { get { return _Order_probability; } set { _Order_probability = value; EntityState.FieldChange("Order_probability"); } } private string _Order_probability; public static FieldInfo order_probability = new FieldInfo("mdc_spm_IcdMustomer", "Order_probability");
        [Column]
        public string Order_combination { get { return _Order_combination; } set { _Order_combination = value; EntityState.FieldChange("Order_combination"); } } private string _Order_combination; public static FieldInfo order_combination = new FieldInfo("mdc_spm_IcdMustomer", "Order_combination");
        [Column]
        public string Shipping_Conditions { get { return _Shipping_Conditions; } set { _Shipping_Conditions = value; EntityState.FieldChange("Shipping_Conditions"); } } private string _Shipping_Conditions; public static FieldInfo shipping_Conditions = new FieldInfo("mdc_spm_IcdMustomer", "Shipping_Conditions");
        [Column]
        public string Relevant_for_POD { get { return _Relevant_for_POD; } set { _Relevant_for_POD = value; EntityState.FieldChange("Relevant_for_POD"); } } private string _Relevant_for_POD; public static FieldInfo relevant_for_POD = new FieldInfo("mdc_spm_IcdMustomer", "Relevant_for_POD");
        [Column]
        public string Complete_delivery_reqd_by_law { get { return _Complete_delivery_reqd_by_law; } set { _Complete_delivery_reqd_by_law = value; EntityState.FieldChange("Complete_delivery_reqd_by_law"); } } private string _Complete_delivery_reqd_by_law; public static FieldInfo complete_delivery_reqd_by_law = new FieldInfo("mdc_spm_IcdMustomer", "Complete_delivery_reqd_by_law");
        [Column]
        public string Partial_delivery_per_item { get { return _Partial_delivery_per_item; } set { _Partial_delivery_per_item = value; EntityState.FieldChange("Partial_delivery_per_item"); } } private string _Partial_delivery_per_item; public static FieldInfo partial_delivery_per_item = new FieldInfo("mdc_spm_IcdMustomer", "Partial_delivery_per_item");
        [Column]
        public string Max_partial_deliveries { get { return _Max_partial_deliveries; } set { _Max_partial_deliveries = value; EntityState.FieldChange("Max_partial_deliveries"); } } private string _Max_partial_deliveries; public static FieldInfo max_partial_deliveries = new FieldInfo("mdc_spm_IcdMustomer", "Max_partial_deliveries");
        [Column]
        public string Rebate { get { return _Rebate; } set { _Rebate = value; EntityState.FieldChange("Rebate"); } } private string _Rebate; public static FieldInfo rebate = new FieldInfo("mdc_spm_IcdMustomer", "Rebate");
        [Column]
        public string Price_detemin { get { return _Price_detemin; } set { _Price_detemin = value; EntityState.FieldChange("Price_detemin"); } } private string _Price_detemin; public static FieldInfo price_detemin = new FieldInfo("mdc_spm_IcdMustomer", "Price_detemin");
        [Column]
        public string Incoterms { get { return _Incoterms; } set { _Incoterms = value; EntityState.FieldChange("Incoterms"); } } private string _Incoterms; public static FieldInfo incoterms = new FieldInfo("mdc_spm_IcdMustomer", "Incoterms");
        [Column]
        public string Terms_of_payment { get { return _Terms_of_payment; } set { _Terms_of_payment = value; EntityState.FieldChange("Terms_of_payment"); } } private string _Terms_of_payment; public static FieldInfo terms_of_payment = new FieldInfo("mdc_spm_IcdMustomer", "Terms_of_payment");
        [Column]
        public string Acct_assgmt_group { get { return _Acct_assgmt_group; } set { _Acct_assgmt_group = value; EntityState.FieldChange("Acct_assgmt_group"); } } private string _Acct_assgmt_group; public static FieldInfo acct_assgmt_group = new FieldInfo("mdc_spm_IcdMustomer", "Acct_assgmt_group");
        [Column]
        public string Tax_classification { get { return _Tax_classification; } set { _Tax_classification = value; EntityState.FieldChange("Tax_classification"); } } private string _Tax_classification; public static FieldInfo tax_classification = new FieldInfo("mdc_spm_IcdMustomer", "Tax_classification");
        [Column]
        public string Tax_category_1 { get { return _Tax_category_1; } set { _Tax_category_1 = value; EntityState.FieldChange("Tax_category_1"); } } private string _Tax_category_1; public static FieldInfo tax_category_1 = new FieldInfo("mdc_spm_IcdMustomer", "Tax_category_1");
        [Column]
        public string Additional_data_Customer_grp_2 { get { return _Additional_data_Customer_grp_2; } set { _Additional_data_Customer_grp_2 = value; EntityState.FieldChange("Additional_data_Customer_grp_2"); } } private string _Additional_data_Customer_grp_2; public static FieldInfo additional_data_Customer_grp_2 = new FieldInfo("mdc_spm_IcdMustomer", "Additional_data_Customer_grp_2");
        [Column]
        public DateTime Time { get { return _Time; } set { _Time = value; EntityState.FieldChange("Time"); } } private DateTime _Time; public static FieldInfo time = new FieldInfo("mdc_spm_IcdMustomer", "Time");
        [Column]
        public int Status { get { return _Status; } set { _Status = value; EntityState.FieldChange("Status"); } } private int _Status; public static FieldInfo status = new FieldInfo("mdc_spm_IcdMustomer", "Status");
        [Column]
        public string ApplicationNo { get { return _ApplicationNo; } set { _ApplicationNo = value; EntityState.FieldChange("ApplicationNo"); } } private string _ApplicationNo; public static FieldInfo applicationNo = new FieldInfo("mdc_spm_IcdMustomer", "ApplicationNo");
        [Column]
        public string Department { get { return _Department; } set { _Department = value; EntityState.FieldChange("Department"); } } private string _Department; public static FieldInfo department = new FieldInfo("mdc_spm_IcdMustomer", "Department");
        [Column]
        public string Date { get { return _Date; } set { _Date = value; EntityState.FieldChange("Date"); } } private string _Date; public static FieldInfo date = new FieldInfo("mdc_spm_IcdMustomer", "Date");

        [Column]
        public string Bp { get { return _Bp; } set { _Bp = value; EntityState.FieldChange("Bp"); } } private string _Bp; public static FieldInfo bp = new FieldInfo("mdc_spm_IcdMustomer", "Bp");
        [Column]
        public string Py { get { return _Py; } set { _Py = value; EntityState.FieldChange("Py"); } } private string _Py; public static FieldInfo py = new FieldInfo("mdc_spm_IcdMustomer", "Py");

    }
}
